//
// Created by 123 on 2025/1/8.
//
#include "stack"
#include "iostream"
using namespace std;

int main130(){
    stack<int> s;
    s.push(1);
    s.push(2);
    s.push(3);
    while (!s.empty()){
        cout << "stack top ele is:" << s.top() << endl;
        s.pop();
    }
    cout << "stack size is " << s.size() << endl;

    return 0;
}